using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;

namespace Deepcode.Flux.Core.Systems.UI.Taskpad
{
	/// <summary>
	/// Represents a single taskpad tab
	/// </summary>
	public class TaskpadTab
	{
		private string _Title = "";
		private string _ID = "";
		private ArrayList _options = new ArrayList();

		public string ID { get { return _ID; } }
		public string Title { get { return _Title; } }

		public TaskpadControl[] Options
		{
			get
			{
				return _options.ToArray(typeof(TaskpadControl)) as TaskpadControl [];
			}
		}

		public TaskpadTab(string tabid, string title, ArrayList pads)
		{
			_ID = tabid;
			_Title = title;
			_options = pads;
		}
	}
}
